<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>红灯笼招聘</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        }

        .header {
            background-color: rgba(0, 0, 0, 0.8);
            padding: 1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            color: #FFD700;
            font-size: 1.5rem;
            font-weight: bold;
        }

        .nav-links {
            display: flex;
            gap: 2rem;
        }

        .nav-links a {
            color: white;
            text-decoration: none;
        }

        .hero {
            background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(image/login-l.png);
            background-size: cover;
            height: 500px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            color: white;
            text-align: center;
            padding: 2rem;
        }

        .hero h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
        }

        .hero h2 {
            font-size: 1.5rem;
            color: #ccc;
        }

        .search-bar {
            margin-top: 2rem;
            width: 100%;
            max-width: 600px;
            position: relative;
        }

        .search-bar input {
            width: 100%;
            padding: 1rem;
            border-radius: 50px;
            border: none;
            font-size: 1rem;
        }

        .search-button {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            background: #FFD700;
            border: none;
            padding: 0.5rem 1rem;
            border-radius: 25px;
            cursor: pointer;
        }

        .categories {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            padding: 2rem;
            background: white;
        }

        .category {
            padding: 1.5rem;
            border-radius: 8px;
            background: #f5f5f5;
        }

        .category h3 {
            margin-bottom: 1rem;
            color: #333;
        }

        .category p {
            color: #666;
            font-size: 0.9rem;
            line-height: 1.5;
        }
    </style>
</head>
<body>
<header class="header">
    <div class="logo">红灯笼招聘</div>
    <nav class="nav-links">
        <a href="#">首页</a>
        <a href="#">北斗计划</a>
        <a href="#">社会招聘</a>
        <a href="#">校园招聘</a>
        <a href="#">工作兼职</a>
        <a href="#">了解红灯笼</a>
        <a href="#">常见问题</a>
    </nav>
    <div>
        <a href="#" style="color: white; margin-right: 1rem;">English</a>
        <a href="login.jsp" style="color: #FFD700;">登录</a>
    </div>
</header>

<section class="hero">
    <h1>一起成长，一起更好</h1>
    <h2>Grow Together, Better Together</h2>
    <div class="search-bar">
        <input type="text" placeholder="红灯笼全部岗位" />
        <button class="search-button">搜索</button>
    </div>
</section>

<section class="categories">
    <div class="category">
        <h3>北斗计划</h3>
        <p>面向全球顶尖校园科技人才的招聘计划，诚邀各技术领域优秀同学加入</p>
    </div>
    <div class="category">
        <h3>社会招聘</h3>
        <p>面向有一定工作经验的优秀人才</p>
    </div>
    <div class="category">
        <h3>校园招聘</h3>
        <p>面向所有校园人才，提供多种招聘项目，无论你在哪个年级，都能找到合适岗位</p>
    </div>
    <div class="category">
        <h3>工作兼职</h3>
        <p>红灯笼生态内灵活就业岗位，有弹性，分时段，司机、推广员等，全职兼职都有</p>
    </div>
</section>

<%-- 可以在这里添加动态内容 --%>
<%
    String currentTime = new java.text.SimpleDateFormat("yyyy-MM-dd HH:mm:ss")
            .format(new java.util.Date());
%>
<footer style="text-align: center; padding: 2rem; background: #f5f5f5;">
    <p>当前时间: <%= currentTime %></p>
    <p>© 2024 红灯笼招聘. All rights reserved.</p>
</footer>
</body>
</html>